#ifndef CVACTIVITY_H
#define CVACTIVITY_H

#include <QObject>
#include <QList>
#include <QMap>

#include "cvactivityparam.h"
#include "util/cvutil.h"

class CVActivity : public QObject
{
    Q_OBJECT
public:
    explicit CVActivity();
    
    void setKey(const QString &key);
    void setTitle(const QString &title);
    void setMessage(const QString &message);
    void setSubjectIcon(const QString &subjectIcon);
    void setObjectId(const QString &objectId);
    void setObjectType(const QString &objectType);
    void setActionType(const QString &actionType);
    void setDescription(const QString &description);
    void setMimeType(const QString &mimeType);
    void setFileVersion(const QString &fileVersion);
    void setIsDownloadable(bool bDownloadable);
    void setObjectSmallIcon(const QString &objectSmallIcon);
    void setCommentsOn(const QString &commentsOn);
    void setCommentsCount(const QString &commentsCount);
    void setPosted(const QString &posted);
    void setTimeDiff(const QString &timeDiff);
    void setRiverId(const QString &riverId);
    void setRid(const QString &rid);
    void setParams(QList< CVActivityParam *> params);

    QString getKey();
    QString getTitle();
    QString getMessage();
    QString getTranslateMessage();
    QString getSubjectIcon();
    QString getObjectId();
    QString getObjectType();
    QString getActionType();
    QString getDescription();
    QString getMimeType();
    QString getFileVersion();
    bool isDownloadable();
    QString getObjectSmallIcon();
    QString getCommentsOn();
    QString getCommentsCount();
    QString getPosted();
    QString getTimeDiff();
    QString getRiverId();
    QString getRid();
    QList< CVActivityParam *> getParams();
    QString getActorId();
signals:
    
public slots:

private:
    QString key;
    QString title;
    QString message;
    QString subjectIcon;
    QString objectId;
    QString objectType;
    QString actionType;
    QString description;
    QString mimeType;
    QString fileVersion;
    bool bDownloadable;
    QString objectSmallIcon;
    QString commentsOn;
    QString commentsCount;
    QString posted;
    QString timeDiff;
    QString riverId;
    QString rid;
    QList< CVActivityParam *> params;
    QString actorId;
    
};

#endif // CVACTIVITY_H
